﻿#region Using References

using Fluent;
using Button = System.Windows.Controls.Button;

#endregion

namespace Beaker.OpenCube.WorldViewer.Controls
{
	/// <summary>
	/// Button that dismisses a popup when clicked.
	/// </summary>
	public class PopupDismissButton
		: Button
	{
		protected override void OnClick()
		{
			PopupService.RaiseDismissPopupEvent( this, DismissPopupMode.Always );
			base.OnClick();
		}
	}
}
